home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
bbs
/
pad311.zip
/
VERIFY.MEX
< prev
next >
Wrap
Text File
|
1996-08-08
|
609b
|
34 lines
#ifndef __MAX_MH
#include <max.mh>
#define __MAX_MH
#endif
#ifndef __VERIFY_MH
#include "verify.mh"
#endif
#ifndef __INFO_MH
#include "info.mh"
#endif
int main () {
string: line, phoneNum, newPhone, city;
int: dialType, fd;
if (fileexists (checkNumTempFile) = False) return 0;
fd := open (checkNumTempFile, IOPEN_READ);
readln (fd, line);
dialType := strtoi (line);
readln (fd, phoneNum);
readln (fd, newPhone);
readln (fd, city);
close (fd);
if (phoneNum <> "")
verify (phoneNum, newPhone, city, dialType);
remove (checkNumTempFile);
}